

jQuery(function ($) {
     
    $('.mj_list ').removeClass('clearfix').addClass('resetInlineBlock');

    //banner图
    var imgParam = {
        "AdPosition": {
            "position_sn": "index_banner_scroll"
        },
        "WebPage": {
            "page_sn": "hof_artist_cat_artist"
        },
        "Ad[]": {
            "Ad": {
                "position_id@": "AdPosition/id",
                "page_id@": "WebPage/id"
            }
        }

    };
    send_ajax('post', '/get', imgParam, function (data) {
        if (data.code == 200) {
            if (data['Ad[]']) {
                $('.banner_box').append("<a href=\"" + data['Ad[]'][0].ad_link + "\" taget=\"_blank\">                        <img src=\"" + isImgHttp(data['Ad[]'][0].img) + "\" alt=\"" + data['Ad[]'][0].img_alt + "\u3002\"></a>");
            }
        }
    });
    var params = {
        "Nav[]": {
            "Nav": {
                "type": 2,
                "use_flag": 1,
                "@order": "rank"
            }
        },
        "[]": {
            "Nav": {
                "type": 5,
                "use_flag": 1,
                "@order": "rank"
            }
        },
        "Tdk": {
            "type": 2
        }

    };
    send_ajax('post', '/get', params, function (data) {
        if (data.code == 200&&data['[]']) {
            var tdks = data['[]'];
            for (var i = 0; i < tdks.length; i++) {
                $('.tdks').append('<a href="' + tdks[i].Nav.url + '"  target="_blank">' + tdks[i].Nav.name + '</a>');
            };
        }
    });
});